package com.qbm.association.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
 * <p>
 * 
 * </p>
 *
 * @author Aron
 * @since 2021-12-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)

public class Activity implements Serializable {

    private static final long serialVersionUID=1L;

    private Long id;

    private Integer clubId;

    private String name;

    private Integer originator;

    private Integer administrator;

    private String intro;

    private String address;

    private String object;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("创建时间，格式：yyyy-MM-dd HH:mm")
    private Date submissionTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("创建时间，格式：yyyy-MM-dd HH:mm")
    private String startTime;

    private String details;

    private String wechat;

    private Integer maxPerson;

    private String photo;

    private Integer state;

    private Integer number;


}
